package com.air.admin.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.servlet.ModelAndView;

import com.air.common.vo.LoginRequestVO;

public interface IBasicAdminController {
	
	public ModelAndView preLogin(HttpServletRequest request,HttpServletResponse response) throws Exception;
	
	public ModelAndView login(HttpServletRequest request,HttpServletResponse response,LoginRequestVO requestVO) throws Exception;
	
	public ModelAndView logout(HttpServletRequest request,HttpServletResponse response);
	
	public ModelAndView toIndexView(HttpServletRequest request,HttpServletResponse response) throws Exception;
	
	public ModelAndView loadComponent(HttpServletRequest request,HttpServletResponse response,
			@PathVariable String componentCode) throws Exception;
	
}
